{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "f6ea019d-b915-42de-87b0-3917efd2b14a",
   "metadata": {
    "execution": {
     "iopub.execute_input": "2024-01-15T03:18:57.045489Z",
     "iopub.status.busy": "2024-01-15T03:18:57.045173Z",
     "iopub.status.idle": "2024-01-15T03:18:57.050307Z",
     "shell.execute_reply": "2024-01-15T03:18:57.049898Z",
     "shell.execute_reply.started": "2024-01-15T03:18:57.045462Z"
    }
   },
   "outputs": [],
   "source": [
    "from IPython.display import IFrame"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "ea3c8a49-0b71-4184-98a7-3811f3d1bf34",
   "metadata": {
    "execution": {
     "iopub.execute_input": "2024-01-15T03:22:21.663435Z",
     "iopub.status.busy": "2024-01-15T03:22:21.663131Z",
     "iopub.status.idle": "2024-01-15T03:22:21.667084Z",
     "shell.execute_reply": "2024-01-15T03:22:21.666633Z",
     "shell.execute_reply.started": "2024-01-15T03:22:21.663417Z"
    },
    "tags": []
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "        <iframe\n",
       "            width=\"100%\"\n",
       "            height=\"500px\"\n",
       "            src=\"http://localhost:8501/\"\n",
       "            frameborder=\"0\"\n",
       "            allowfullscreen\n",
       "            \n",
       "        ></iframe>\n",
       "        "
      ],
      "text/plain": [
       "<IPython.lib.display.IFrame at 0x7f0bdfc9d0f0>"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "IFrame(src=\"http://localhost:8501/\", width='100%', height='500px')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "e69f3823-5180-4da1-a661-76fab0db2325",
   "metadata": {
    "ExecutionIndicator": {
     "show": true
    },
    "tags": []
   },
   "outputs": [],
   "source": [
    "# !streamlit run chatglm3_demo.py"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.13"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
